package br.com.fachada;

import br.com.excecoes.ClienteException;
import br.com.modelo.Cliente;
import java.util.List;

/**
 *
 * @author Gernan
 */
public interface Fachada {
    
    Cliente salvarCliente(Cliente cliente) throws ClienteException;
    
    Cliente atualizarCliente(Cliente cliente) throws ClienteException;
    
    Cliente removerCliente(Cliente cliente) throws ClienteException;
    
    Cliente getClientePorId(Long id) throws ClienteException;
    
    Cliente getClientePorCpf(String cpf) throws ClienteException;
    
    List<Cliente> buscar(String busca) throws ClienteException;
    
    List<Cliente> getTodosClientes() throws ClienteException;
    
}
